package org.fxml.loaders {
	import flash.display.Loader;
	import flash.events.IEventDispatcher;
	import flash.net.URLLoader;
	import flash.system.LoaderContext;

	/**
	 * @author jordandoczy
	 */
	public interface IBulkLoader extends IEventDispatcher {
		
		function get bytesLoaded():uint;
		function get bytesTotal():int;
		function get isSequential():Boolean;
		function set isSequential(value:Boolean):void;
		function get isLoading():Boolean;
		
		function addCSS(path:String, key:String=null):URLLoader;
		function addImage(path:String, key:String=null):Loader;
		function addSWF(path:String, key:String=null, context:LoaderContext=null):Loader;
		function addXML(path:String, key:String=null):URLLoader;
		function addItem(path:String, key:String, type:String, context:LoaderContext=null):*;
		function getAsset(key:String):*;
		function load():void;
	}
}
